package com.hq.fxh.No5_User.User.Activity;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.hq.fxh.No0_ChengQu.Activity.AppUtils;
import com.hq.fxh.No0_ChengQu.Activity.BaseActivity;
import com.hq.fxh.R;

import cn.jiguang.analytics.android.api.JAnalyticsInterface;

public class AboutActivity extends BaseActivity {

    private ImageView back;
    private TextView version;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_about;
    }

    @Override
    protected void initView() {
        back = (ImageView)findViewById(R.id.back);
        version = (TextView)findViewById(R.id.version);
        version.setText(AppUtils.getVersionName(this));
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }

    @Override
    protected void initData() {
    }

    @Override
    protected void onResume() {
        super.onResume();
        JAnalyticsInterface.onPageStart(this,"关于");
    }

    @Override
    protected void onPause() {
        super.onPause();
        JAnalyticsInterface.onPageEnd(this,"关于");
    }
}
